Skip to content

Update copilot instructions, prompts, and skills#2212

Merged
adegeo merged 8 commits intomainfrom
copilot/instructions
Apr 1, 2026
Merged

Update copilot instructions, prompts, and skills#2212
adegeo merged 8 commits intomainfrom
copilot/instructions

Conversation

Copilot AI review requested due to automatic review settings March 30, 2026 19:50
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the repo’s Copilot skills/prompts by adding redirect-management automation (new skills + PowerShell scripts) and modernizing several snippet-related prompts, while removing older/temporary prompt/agent assets.

Changes:

  • Added redirect-article and sort-redirects skills, including PowerShell scripts to create and sort Open Publishing redirect entries.
  • Updated multiple prompts (snippet migration/push/upgrade and others) to reflect newer conventions and model selections.
  • Removed obsolete prompt/agent files (including the old redirect prompt, a temp prompt, and the docwriter agent).

Reviewed changes

Copilot reviewed 14 out of 15 changed files in this pull request and generated 6 comments.

Show a summary per file
File Description
.github/skills/sort-redirects/SKILL.md Documents a new skill for sorting Open Publishing redirect JSON entries.
.github/skills/sort-redirects/scripts/sort-redirects.ps1 Implements redirect sorting for redirection JSON files.
.github/skills/redirect-article/SKILL.md Documents a new skill for deleting an article and adding a redirect entry.
.github/skills/redirect-article/scripts/create-redirect-entry.ps1 Implements insertion of a redirect entry into a redirection JSON file.
.github/prompts/ValidateTemplate.prompt.md Updates the model selection used for template validation.
.github/prompts/temp.prompt.md Removes a temporary/one-off prompt file.
.github/prompts/Snippets.Upgrade.prompt.md Updates snippet upgrade guidance (structure, creation via dotnet CLI, etc.).
.github/prompts/Snippets.Push.prompt.md Updates guidance for extracting inline snippets into project-based snippet folders.
.github/prompts/Snippets.Migrate.prompt.md Updates guidance for migrating legacy ~/samples/snippets references to ./snippets/.
.github/prompts/RefreshLinks.prompt.md Adjusts frontmatter metadata (adds a name field) and keeps prompt behavior.
.github/prompts/Redirect.Article.prompt.md Removes the older redirect prompt (superseded by skill-based workflow).
.github/prompts/Merge.Article.prompt.md Adds a new prompt for merging article content and optionally invoking redirect skill afterward.
.github/prompts/Editing.FullPass.prompt.md Updates model/agent selection and simplifies the editing prompt instructions.
.github/agents/docwriter.agent.md Removes the docwriter agent definition.
.github/agents/doceditor.agent.md Expands doceditor to cover both writing and editing modes and adds repo-specific guidance.

@adegeo adegeo force-pushed the copilot/instructions branch from f4077bd to 909c1f5 Compare March 31, 2026 00:44
@adegeo adegeo merged commit 6161088 into main Apr 1, 2026
8 checks passed
@adegeo adegeo deleted the copilot/instructions branch April 1, 2026 16:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Review and update copilot skills, instructions, and prompts

3 participants